/*
 * @Author: ZhanXie
 * @Date: 2020-08-11 11:43:06
 * @LastEditors: ZhanXie
 * @LastEditTime: 2020-08-11 11:46:49
 * @Description: 环境变量
 * @FilePath: /weibo/src/utils/env.js
 */
const ENV = process.env.NODE_ENV

module.exports = {
  isDev: ENV === 'dev',
  notDev: ENV !== 'dev',
  isProd: ENV === 'production',
  notProd: ENV !== 'production',
  isTest: ENV === 'test',
  noTest: ENV !== 'test'
}